<?php

define('LOG_PATH', EXECUTOR_PATH . '/log');
define('LOCK_PATH', EXECUTOR_PATH . '/lock');
define('RUNTIME_PATH', EXECUTOR_PATH . '/runtime');

define('HIVE_CLIENT', '/home/qss/software/hive/bin/hive');
define('MYSQL_CLIENT', 'mysql');
define('HBASE_THRIFT_SERVER', 'w-hdp2.safe.zzbc.qihoo.net');
define('HBASE_THRIFT_PORT', '9090');

define('WORKER_PHP', EXECUTOR_PATH . '/bin/worker.php');
define('PHP_EXEC', 'php');
define('PYTHON_EXEC', '/home/qss/python-2.7.3/bin/python');
define('DATAX_CLIENT', '/home/qss/datax/bin');

define('HADOOP_INPUT_PATH', '/user/qss/dw/input');
define('HADOOP_OUTPUT_PATH', '/user/qss/dw/output');

define('YII_DEBUG', true);
define('YII_TRACE_LEVEL',3);
define('YII_ENABLE_EXCEPTION_HANDLER', false);
define('YII_ENABLE_ERROR_HANDLER', false);

define('EXECUTOR_LOG', 'app.executor');
define('WORKER_LOG', 'app.worker');

// max result count
define('MAX_RESULT_COUNT', 50000);

// loop interval
define('EXECUTOR_LOOP_INTERVAL', 3);
